/*
 * 작성자 : Jint
 * 작성일 : 140421
 * 작성내용 : Member2 패키지에서 쓰일 데이터목록
 */

package member2;

import java.util.Date;

public class Data {
	String irum;
	String address;
	String number;
	String email;
	int age;
	Date nal;//입사일자
	
	//생성자를 통해 데이터를 전달받아 필드에 저장
	
	public Data(String n, String a, String nu, String e, int ag, Date na){
		this.irum = n;
		this.address =a;
		this.number = nu;
		this.email = e;
		this.age = ag;
		this.nal = na;
		
	}

	public String getIrum() {
		return irum;
	}

	public void setIrum(String irum) {
		this.irum = irum;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public Date getNal() {
		return nal;
	}

	public void setNal(Date nal) {
		this.nal = nal;
	}
	

}
